<?php require_once 'includes/config.php'; ?>
<?php require_once 'head.php'; ?>
<?php require_once 'header.php'; ?>


<div class="or-spacer">
        <div class="mask"></div>
        <span><i>AA</i></span>
</div>
<div class="content_wrapper">
    
    <div id="prices_page_content" class="inner_content stitcher">
        <!--<h2 class="content_heading">Най-ниски цени - без комисиони</h2>-->
        <table class="table table-striped table-styles">
            <thead>
                <tr><th>Motor</th><th>1 rata</th><th>1 rata (lista neagră)</th><th>2 rate (lista neagră)</th><th>4 rate (lista neagră)</th></tr>
            </thead>
            
            <?php 
            
            $prices = query("SELECT * FROM price_list");
            $output = '';
            if($prices !== false){
                foreach($prices as $price){
                    $output .= '<tr>';
                    $output .= "<td>{$price['size']}</td>";
                    $output .= "<td>{$price['price_1']} euro</td>";
                    $output .= "<td>{$price['blprice_1']} euro</td>";
                    $output .= "<td>{$price['blprice_2']} euro</td>";
                    $output .= "<td>{$price['blprice_4']} euro</td>";
                    $output .= '</tr>';
                }
            }
            $output .= '</tr></table>';
            echo $output;
            ?>
        </table>
    </div>
      
</div>


<?php require_once 'foot.php'; ?>

